package com.whd.service;

import com.github.pagehelper.PageInfo;
import com.whd.entity.Dept;

import java.util.List;
import java.util.Map;

/**
 * @author whd
 * @date 2023/07/01 10:09:41
 */
public interface DeptService {
    PageInfo<Dept> fndAll(Integer pageNum, Integer pageSize);

    int save(Dept dept);

    int update(Dept dept);

    int delete(Integer id);

    PageInfo<Dept> findByOther(Map<String, Object> map);

    List<Dept> findAll();
}
